static void autocomplete (GtkFileChooserEntry *chooser_entry);
static void install_start_autocompletion_idle (GtkFileChooserEntry *chooser_entry);
static void remove_completion_feedback (GtkFileChooserEntry *chooser_entry);
+static void pop_up_completion_feedback (GtkFileChooserEntry *chooser_entry,
+ const gchar *feedback);
static GtkEditableClass *parent_editable_iface;
if (show_errors)
{
beep (chooser_entry);
- /* FIXME: display the error somehow */
+ pop_up_completion_feedback (chooser_entry, _("Invalid path"));
}
g_error_free (error);
break;
case COMPLETE_BUT_NOT_UNIQUE:
- /* FIXME: pop up the suggestion window */
pop_up_completion_feedback (chooser_entry, _("Complete, but not unique"));
break;
printf ("We don't have a current_folder_path - means the user typed something bogus\n");
beep (chooser_entry);
+ pop_up_completion_feedback (chooser_entry, _("Invalid path"));
/* FIXME: present a tooltip to tell the user that his folder is invalid */
chooser_entry->load_complete_action = LOAD_COMPLETE_NOTHING;
printf ("File folder is not yet loaded; will do explicit completion later\n");
chooser_entry->load_complete_action = LOAD_COMPLETE_EXPLICIT_COMPLETION;
- /* FIXME: here, Emacs would say, "Making completion list..." */
+ pop_up_completion_feedback (chooser_entry, _("Completing..."));
}
}